package aj.service;

import aj.bo.AjBuyRecord;
import aj.bo.AjBuyRecordDetail;
import framework.util.queryFilter.service.IBaseService;

import java.util.List;

public interface AjBuyRecordService extends IBaseService<AjBuyRecord, Integer> {

    /**
     * 生成购买记录、购买记录明细、激活码
     * @param ajBuyRecord 购买记录主表
     * @param ajBuyRecordDetails 购买记录明细
     */
    void add(AjBuyRecord ajBuyRecord, List<AjBuyRecordDetail> ajBuyRecordDetails);
}
